"""FAQ 定义模型类的文件."""
from pydantic import BaseModel


class FaqMasterResponse(BaseModel):
    """FAQ 分类响应模型"""
    fm_id: int
    fm_subject: str
    fm_order: int
    fm_head_html: str
    fm_tail_html: str
    fm_mobile_head_html: str
    fm_mobile_tail_html: str


class FaqResponse(BaseModel):
    """FAQ 响应模型"""
    fa_id: int
    fm_id: int
    fa_subject: str
    fa_content: str
    fa_order: int
